﻿<%@ Page Title="Xem Người dùng" Language="C#" MasterPageFile="~/Manager.Master" AutoEventWireup="true" CodeBehind="ViewUser.aspx.cs" Inherits="Manager.ViewUser" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="contentPage" runat="server">
    <div class="breadcrumb">
 <a href="Default.aspx">Trang quản trị</a> >> <a href="UserManager.aspx">Quản lý người dùng</a> >> <asp:Label ID="lblViewUser" runat="server" Text=""></asp:Label>
</div>

    <div class="box" style="float:left; width: 100%">
        <div class="heading">
            <h1><img src="Styles/Img/user.png" alt="" />Xem và Sửa đổi thông tin Người dùng</h1>            
        </div>
        
        <div class="content">
                <table class="form">
                    <tbody>
                        <tr>
                            <td colspan="2"><span class="required" style="font-size: 18px;"><asp:Label ID="lblMessage" Visible="false" runat="server"></asp:Label></span>
                            &nbsp;&nbsp;&nbsp;<asp:Button ID="btnContinue" Text="Tiếp tục" runat="server" 
                                    CssClass="button" Visible="false" onclick="btnContinue_Click" /> </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="required">*</span> Họ tên: 
                            </td>
                            <td>
                                <asp:TextBox ID="txtFullName" runat="server" Width="250px"></asp:TextBox><br />
                                <asp:Label ID="lblErrFullName" Font-Italic="True" ForeColor="Red" 
                                    runat="server"></asp:Label>                                
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span class="required">*</span> Tên Đăng nhập: 
                            </td>
                            <td>
                                <asp:TextBox ID="txtUserName" runat="server" Width="250px"></asp:TextBox><br />
                                <asp:Label ID="lblErrUserName" Font-Italic="true" ForeColor="Red" runat="server"></asp:Label>                                
                            </td>
                        </tr>
                        <tr>
                            <td><span class="required">*</span> Mật khẩu: </td>
                            <td>
                                <asp:TextBox ID="txtPassword" TextMode="Password" runat="server" Width="250px"></asp:TextBox><br />
                                <asp:Label ID="lblErrPassword" Font-Italic="true" ForeColor="Red" runat="server"></asp:Label>          
                            </td>
                        </tr>
                        <tr>
                            <td><span class="required">*</span> Địa chỉ Email: </td>
                            <td>
                                <asp:TextBox ID="txtEmail" runat="server" Width="250px"></asp:TextBox>   <br />
                                <asp:Label ID="lblErrEmail" Font-Italic="true" ForeColor="Red" runat="server"></asp:Label>       
                            </td>
                        </tr>
                        <tr>
                            <td> Địa chỉ: </td>
                            <td>
                                <asp:TextBox ID="txtAddress" runat="server" Width="250px"></asp:TextBox>   <br />      
                            </td>
                        </tr>
                        <tr>
                            <td> Điện thoại: </td>
                            <td>
                                <asp:TextBox ID="txtPhone" runat="server" Width="120px"></asp:TextBox>   <br />     
                            </td>
                        </tr>
                        <tr>
                            <td> Thông tin khác: </td>
                            <td><asp:TextBox ID="txtDesc" runat="server" TextMode="MultiLine" Width="250px" Height="40px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td>Trạng thái: </td>
                            <td>
                                <asp:RadioButton ID="rbtActive" Text="Hoạt động" Checked="true" GroupName="grpStatus" runat="server" />&nbsp; &nbsp;
                                <asp:RadioButton ID="rbtDeactive" Text="Không hoạt động" Checked="false" GroupName="grpStatus" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                                <asp:Button ID="btnUpdate" runat="server" CssClass="button" 
                                    OnClientClick='return confirm("Bạn có chắc chắn sửa đổi???")' Text="Sửa đổi" 
                                    onclick="btnUpdate_Click" />
                                <asp:Button ID="btnClose" runat="server" CssClass="button" Text="Thoát" 
                                    onclick="btnClose_Click" />
                            </td>
                        </tr>
                    </tbody>
                </table>
        </div>
    </div>
</asp:Content>
